package com.itcodai.course16.service;

import com.itcodai.course16.entity.User;
import com.itcodai.course16.mapper.UserMapper;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.Set;

public interface UserService {

    User getByUsername(String username);

    Set<String> getRoles(String username);

    Set<String> getPermissions(String username);
}
